﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/TabPage.Master" AutoEventWireup="true" CodeBehind="Assign.aspx.cs" Inherits="eTerm.Platform.Web.Order.Assign" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpButtons" runat="server">
    <table cellpadding="0" cellspacing="1px" border="0" style="width: 100%;" bgcolor="b5d6e6">
        <tr style="background-color: White; height: 32px;">
            <th align="right" width="15%" >
                航空公司:&nbsp;&nbsp;
            </th>
            <td align="left">
                <asp:DropDownList runat="server" ID="dlCompany" DataValueField="CompanyCode" DataTextField="CompayName">
                </asp:DropDownList>
            </td>
            <td align="right">
                <asp:LinkButton runat="server" ID="btnQuery" Text="查询" OnClick="btnQuery_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpContent" runat="server">
    <asp:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
        runat="server" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
        PageSize="6" PrevPageText="上一页" ShowCustomInfoSection="Left" ShowInputBox="Never"
        OnPageChanging="AspNetPager1_PageChanging" CustomInfoTextAlign="Left" LayoutType="Table">
    </asp:AspNetPager>
        <asp:Repeater EnableViewState="false" OnItemDataBound="rptSegment_OnItemDataBound" runat="server" ID="rptSegment">
            <HeaderTemplate>
                <table class="gridview" width="98%" bordercolor="black" border="1">
                    <tr>
                        <th width="8%">
                            序号
                        </th>
                        <th width="10%">
                            航空公司
                        </th>
                        <th width="10%">
                            舱位编码
                        </th>
                        <th width="8%">
                            扣率
                        </th>
                        <th>
                            说明
                        </th>
                        <th width="15%">

                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                    <tr style="text-align:center;">
                        <td width="8%">
                            <%#Container.ItemIndex+1 %>
                        </td>
                        <td width="10%">
                            <%#Eval("AirWayCode") %>
                        </td>
                        <td width="10%">
                            <%#Eval("CabinCode") %>
                        </td>
                        <td width="8%">
                            <%#Eval("DisCount") %>%
                        </td>
                        <td align="left">
                            <%#Eval("Description") %>
                        </td>
                        <td align="right" width="15%">
                            <asp:LinkButton runat="server" ID="btnSelect" Text="选取"></asp:LinkButton>
                        </td>
                    </tr>
            </ItemTemplate>
            
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    <asp:AspNetPager ID="AspNetPager2" runat="server" CloneFrom="AspNetPager1">
    </asp:AspNetPager>
</asp:Content>
